<?php

namespace App\Http\Controllers\Api\V2;

use App\Models\XoPayMenu;
use Illuminate\Http\Request;
use App\Models\Authorization;
use App\Transformers\NewsTransformer;
use Illuminate\Support\Facades\DB;
use Log;

class XoPayController extends BaseController
{
    /**
     *
     * 获取主播列表
     * @param {Object} Request
     */
    public function index(Request $request)
    {
		
		$rows = XoPayMenu::get();
		
		$dataArray = $rows->toArray();
		$retArr = [];
		if($dataArray){
			foreach($dataArray as $index => $one){
			
			
			}
		}
		
		return $this->returnSuccess($dataArray);
    }
    
   
	
}
